export interface DictData extends BaseInfo {
  cssClass: string;
  default: boolean;
  dictCode: number;
  dictLabel: string;
  dictSort: number;
  dictType: string;
  dictValue: string;
  isDefault: string;
  listClass: string;
  params: { [key: string]: any };
  status: string;
}

type Nullable<T> = T | null;

interface BaseInfo {
  createBy: Nullable<string>;
  createTime: Nullable<string>;
  msg: Nullable<string>;
  remark: Nullable<string>;
  updateBy: Nullable<string>;
  updateTime: Nullable<string>;
}

// 将 LoginData 接口扩展自 BaseInfo
export interface LoginData extends BaseInfo {
  infoId: number;
  ipaddr: string;
  loginLocation: string;
  loginTime: string;
  os: string;
  status: string; // 如果可以是数字类型，可以考虑更改为 number
  userName: string;
}
